(function(){"use strict";BX.namespace("BX.Landing.UI.Card");BX.Landing.UI.Card.LandingPreviewCard=function(i){BX.Landing.UI.Card.BaseCard.apply(this,arguments);this.layout.classList.add("landing-ui-card-landing-preview");this.onClickHandler=typeof i.onClick==="function"?i.onClick:function(){};if(!!i.preview&&typeof i.preview==="string"){this.body.style.backgroundImage="url("+i.preview+")"}else{this.body.hidden=true}if(!!i.description&&typeof i.description==="string"){this.footer=BX.create("div",{props:{className:"landing-ui-card-footer"},text:i.description})}};BX.Landing.UI.Card.LandingPreviewCard.prototype={constructor:BX.Landing.UI.Card.LandingPreviewCard,__proto__:BX.Landing.UI.Card.BaseCard.prototype,onClick:function(){this.onClickHandler()}}})();
//# sourceMappingURL=landing_preview.map.js